﻿@model string
@{
    List<SelectListItem> titles = new List<SelectListItem>();
    titles.Add(new SelectListItem { Text = "教授", Value = "教授", Selected = (Model == "教授") });
    titles.Add(new SelectListItem { Text = "副教授", Value = "副教授", Selected = (Model == "副教授") });
    titles.Add(new SelectListItem { Text = "讲师", Value = "讲师", Selected = (Model == "讲师") });
    titles.Add(new SelectListItem { Text = "助教", Value = "助教", Selected = (Model == "助教") });
    titles.Add(new SelectListItem { Text = "研究员", Value = "研究员", Selected = (Model == "研究员") });
}
@Html.DropDownListFor(model => model, titles, "其他", htmlAttributes: ViewData["htmlAttributes"])
